Method of controlling digital photographing apparatus and digital photographing apparatus using the same

ABSTRACT

Provided is a method of controlling a digital photographing apparatus recording moving image data being input to a recording medium in a moving image photographing mode. The method includes creating a moving image file in the recording medium and storing the moving image data being input in the moving image file when a first signal is generated by a first button of the digital photographing apparatus pressed, stopping storing of the moving image data being input when the first signal is generated by a second button of the digital photographing apparatus pressed by the user, continuing to store the moving image data being input in the moving image file when a second signal is generated by the second button pressed by the user, and stopping storing of the moving image data being input and completing the moving image file when the second signal is generated by the first button pressed.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation application of U.S. application Ser. No. 14/324,680, filed Jul. 7, 2014, which is a continuation application of U.S. application Ser. No. 10/899,491, filed Jul. 26, 2004, which claims the priority of Korean Patent Application No. 2004-8184, filed on Feb. 7, 2004, in the Korean Intellectual Property Office, the disclosure of all being incorporated herein in their entirety by reference.

BACKGROUND

Disclosed herein is a method of controlling a digital photographing apparatus and a digital photographing apparatus using the same, and more particularly, to a method of controlling a digital photographing apparatus storing moving image data recorded on a recording medium in a moving image photographing mode and a digital photographing apparatus using the same.

Conventional digital photographing apparatuses, for example, the digital cameras disclosed in Japanese Patent Laid-open Publication Nos. 331,689 titled “Digital camera” and 223,377 titled “Digital camera and a method of controlling the same,” set an operating condition at a user's choice in a setting mode, display an input image on a display panel in a preview mode, record image data on a recording medium in a photographing mode, and display images of the image data stored on the recording medium on the display panel.

In a moving image photographing mode, a conventional digital photographing apparatus operates as follows. When a user presses a button, such as a shutter release button, on a conventional digital photographing apparatus, a moving image file is created in a recording medium, and any moving image data that is being input is processed and stored in the moving image file. When the user presses the shutter release button again, the moving image data that is being input stops being stored, and the moving image file is completed. This operation is frequently performed in a moving image photographing mode. In other words, when the user presses the shutter release button again, another moving image file is created. Then, the moving image data being input is processed and stored in the moving image file. When the user presses the shutter release button again, the moving image data being input stops being stored, and the moving image file is completed.

According to the method of controlling the conventional digital photographing apparatus, whenever a user presses a button for photographing moving images, a moving image file is created. Therefore, it is not possible for the user to consecutively reproduce moving images photographed at different times.

SUMMARY

Described below is a method of controlling a digital photographing apparatus and a digital photographing apparatus using the same, which can consecutively reproduce moving image data photographed at different times at a user's choice.

According to an embodiment of the invention, there is provided a method of controlling a digital photographing apparatus recording moving image data being input to a recording medium in a moving image photographing mode. The method includes creating a moving image file in the recording medium and storing the moving image data being input in the moving image file when a first signal is generated by a first button of the digital photographing apparatus pressed by a user, stopping storing the moving image data being input when the first signal is generated by a second button of the digital photographing apparatus pressed by the user, continuing to store the moving image data being input in the moving image file when a second signal is generated by the second button pressed by the user, and stopping storing the moving image data being input and completing the moving image file when the second signal is generated by the first button pressed by the user.

In the method of controlling the digital photographing apparatus, signals generated by the second button are additionally used. Therefore, the moving images is divided into different time frames at a user's choice can be stored in the same moving image file. Accordingly, the moving images photographed at different times can be consecutively reproduced.

According to another embodiment, there is provided a digital photographing apparatus using the above method.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other features and advantages of the invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:

FIG. 1 is a perspective view showing a digital photographing apparatus according to an embodiment;

FIG. 2 is a back view showing the back of the digital photographing apparatus of FIG. 1;

FIG. 3 is a block diagram showing the entire configuration of the digital photographing apparatus of FIG. 1;

FIG. 4 is a flow chart illustrating a main algorithm of a digital signal processor of FIG. 3;

FIG. 5 is a flow chart illustrating an algorithm of performing a moving image photographing mode of FIG. 4;

FIG. 6 is a timing diagram illustrating a first example of performing Steps 4210 through 4219 of FIG. 5;

FIG. 6A is a timing diagram illustrating another example of performing Steps 4210 through 4219;

FIG. 7 is a block diagram of the structure of a moving image file obtained from the first example of FIG. 6;

FIG. 8 is a timing diagram illustrating a second example of performing Steps 4210 through 4219;

FIG. 9 is a timing diagram illustrating a third example of performing Steps 4210 through 4219;

FIG. 10 is a flow chart illustrating an algorithm of performing a preview mode of FIG. 4; and

FIG. 11 is a flow chart illustrating an algorithm of performing a still image photographing mode of FIG. 4.

DETAILED DESCRIPTION

Referring to FIG. 1, the front part of a digital photographing apparatus 1 according to an embodiment of the invention includes a microphone MIC, a self-timer lamp 11, a flash 12, a shutter release button 13, a viewfinder 17 a, a flash light intensity sensor 19, a power switch 31, a lens unit 20, and a remote receiver 41.

In a self-timer mode, the self-timer lamp 11 operates for a set period of time from when the shutter release button 13 is pressed to when an image starts to be captured. When the flash 12 operates, the flash light intensity sensor 19 senses the intensity of light generated by the flash 12 and inputs the sensed intensity of the light to a digital signal processor (DSP) 507 of FIG. 3 via a micro controller 512 of FIG. 3. The remote receiver 41 receives a command signal, for example, a photographing command signal and inputs the photographing command signal to the micro controller 512.

The shutter release button 13 has two levels. In other words, referring to FIGS. 5 and 11, after operating a wide angle-zoom button 39 _(W) and a telephoto-zoom button 39 _(T), when a user presses the shutter release button 13 to a first level, a first level signal S1 from the shutter release button 13 is turned on. When the user presses the shutter release button 13 to a second level, a second level signal S2 from the shutter release button 13 is turned on.

Referring to FIG. 2, the back of the digital camera 1 according to an embodiment of the invention includes a mode dial 14, functional buttons 15, a manual focusing/deleting button 36, a manual adjusting/reproducing button 37, a reproducing mode button 42, a speaker SP, a monitor button 32, an automatic focusing lamp 33, a viewfinder 17 b, a flash standby lamp 34, a color LCD panel 35, the wide angle-zoom button 39 _(W), the telephoto-zoom button 39 _(T), and an external interface unit 21.

The mode dial 14 is used for selecting any one of the operating modes of the digital camera 1 such as a simple photographing mode, a program photographing mode, a character photographing mode, a night view photographing mode, a manual photographing mode, a moving image photographing mode 14 _(MP), a user setting mode 14 _(MY), and a recording mode 14 _(V).

After selecting the moving image photographing mode 14 _(MP), when a user presses the shutter release button 13, a moving image file is created in a memory card, i.e., a recording medium, and moving image data that is being input is stored in the moving image file. When the user presses a macro/move down/stop-continue button 15 _(P) out of the functional buttons 15, the moving image data that is being input stops being stored. When the user presses the macro/move/stop-continue button 15 _(P) again, the moving image data being input continues to be stored in the moving image file. When the user presses the shutter release button 13 again, the moving image data being input stops being stored, and the moving image file is completed. Since all of the moving image data photographed at different times are stored in the same moving image file, moving images in different time frames can be consecutively reproduced. The moving image photographing mode 14 _(MP) will later be described in detail with reference to FIGS. 4 through 9.

The user setting mode 14 _(MY) indicates an operating mode for setting photographing information needed for a still image mode or a moving image photographing mode. The recording mode 14 _(V) is an operating mode for recording only sounds, such as a user's voice. After selecting the recording mode 14 _(V), when a user presses the shutter release button, an audio file is created in the memory card and sounds being input are stored in the audio file. When the user presses a macro/move down/stop-continue button 15 _(P) that is one of the functional buttons 15, audio data being input stops being stored. When the user presses the macro/move/stop-continue button 15 _(P) again, the audio data being input continues to be stored in the audio file.

When the user presses the shutter release button 13 again, the audio data being input stops being stored, and the audio file is completed. Since all of the audio data recorded at different times can be stored in the same audio file, sounds in different time frames can be consecutively reproduced.

The functional buttons 15 are used for operating specific functions of the digital camera 1. The functional buttons 15 are also used as direction-movement buttons for an active cursor on the menu screen of the color LCD panel 35. For example, in the still mode or moving image photographing mode 14 _(MP), a user may set automatic proximity focusing by pressing the macro/move down/stop-continue button 15 _(P). When the user presses the macro/move-down/stop-continue button 15 _(P) while viewing a menu that sets a condition within an operating mode (the menu being displayed after pressing a menu/select-confirm button 15 _(M)), the activated cursor is moved down. The functionality of the macro/move down/stop-continue button 15 _(P) in the moving image photographing mode 14 _(MP) or in the recording mode 14 _(V) is as described above.

When a user presses a voice-memo/move-up button 15 _(R), a 10 second recording is possible upon consecutive photographing. When the user presses the voice-memo/move up button 15 _(R) while viewing a menu for setting a condition for an operating mode (the menu being displayed after pressing the menu/select-confirm button 15 _(M)), the activated cursor is moved up. If the user presses the menu/select-confirm button 15 _(M) when the active cursor is on a selection item, an operation corresponding to the selection item is performed.

The manual focusing/deleting button 36 is used for manual focusing or deletion by the user in a photographing mode. The manual adjusting/reproducing button 37 is used for manual adjustment of specified conditions and for stopping or reproducing in a reproducing mode. The reproducing mode button 42 is used for converting to a reproducing or preview mode.

The monitor button 32 is used for controlling the operation of the color LCD panel 35. For example, in the photographing mode, when the user presses the monitor button 32, an image of a subject and photographing information are displayed on the color LCD panel 35. When the user presses the monitor button 32 again, the power applied to the color LCD panel 35 is cut off. In the reproducing mode, when the user presses the monitor button 32 while an image file is being reproduced, photographing information about the image file being reproduced is displayed on the color LCD panel 35. When the user presses the monitor button 32 again, only pure images are displayed.

The automatic focusing lamp 33 operates when a focus is well adjusted. The flash standby lamp 34 operates when the flash 12 of FIG. 1 is in a standby mode. A mode indicating lamp 14 _(L) indicates a selection mode of the mode dial 14.

FIG. 3 shows the entire configuration of the digital camera of FIG. 1. The entire configuration and operation of the digital camera 1 of FIG. 1 will now be described with reference to FIGS. 1 through 3.

An optical system (OPS) includes the lens unit 20 and a filter unit and optically processes light. The lens unit 20 of the OPS includes a zoom lens, a focus lens, and a compensation lens.

When the user presses the wide angle-zoom button 39 _(W) or the telephoto-zoom button 39 _(T) included in a user input unit (INP), a signal corresponding to the wide angle-zoom button 39 _(W) or the telephoto-zoom button 39 _(T) is input to the micro controller 512. The micro controller 512 controls a lens driver 510, thereby running a zoom motor M_(Z), which, in turn, moves the zoom lens. In other words, when the user presses the wide angle-zoom button 39 _(W), a focal length of the zoom lens becomes short, thereby widening an angle of view. When the user presses the telephoto-zoom button 39 _(T), the focal length of the zoom lens becomes long, thereby narrowing the angle of view. Because the position of the focus lens is adjusted in a state where the position of the zoom lens is set, the angle of view is hardly affected by the position of the focus lens.

In the automatic focusing mode, a main controller built into the DSP 507 controls the lens driver 510 through the micro controller 512, thereby driving a focus motor M_(F). Accordingly, the focus lens is moved, and, in this process, the position of the focus lens having the largest high frequency component of an image signal is set. This position may, for example, correlate to a certain number of driving steps of the focus motor M_(F).

The compensation lens in the lens unit 20 of the OPS is not separately operated because the compensation lens compensates for an entire refractive index. A reference numeral M_(A) indicates a motor for driving an aperture (not shown).

An optical low pass filter included in the filter unit of the OPS eliminates optical noises of a high frequency component. An infrared cut filter included in the filter unit of the OPS blocks an infrared component of incident light.

A photoelectric conversion unit (OEC) of a charge coupled device or a complementary metal oxide semiconductor converts light from the OPS into an electrical analog signal. Here, the DSP 507 controls a timing circuit 502 to control the operations of the OEC and a correlation double sampler and analog-to digital converter (CDS-ADC) 501, which is an analog-digital converter. The CDS-ADC 501 processes an analog signal from the OEC, eliminates high frequency noises, adjusts amplitude, and then converts the analog signal into a digital signal.

A real time clock (RTC) 503 provides time information to the DSP 507. The DSP 507 processes the digital signal from the CDS-ADC 501 and generates a digital image signal classified into a luminance signal and a chromaticity signal.

A light source (LAMP) is operated by the micro controller 512 in response to a control signal generated by the DSP 507 including the main controller. The light source (LAMP) includes the self-timer lamp 11, the automatic focusing lamp 33, the mode indicating lamp 14 _(L), and the flash standby lamp 34. The INP includes the shutter release button 13, the mode dial 14, the functional buttons 15, the monitor button 32, the manual focusing/deleting button 36, the manual adjusting/reproducing button 37, the wide angle-zoom button 39 _(W), and the telephoto-zoom button 39 _(T).

A dynamic random access memory (DRAM) 504 temporarily stores a digital image signal from the DSP 507. An electrically erasable and programmable read only memory (EEPROM) 507 stores algorithm and setting data. A user's memory card is inserted or removed in a memory card interface 506. The digital image signal from the DSP 507 is input to a LCD driver 514, thereby displaying an image on the color LCD panel 35.

The digital image signal from the DSP 507 can be transmitted as serial communications via a universal serial bus connector 21 a or a RS232C interface 508 and RS232C connector 21 b. The digital image signal from the DSP 507 can also be transmitted via a video filter 509 and a video output unit 21 c as a video signal. Here, the DSP 507 includes the main controller.

An audio processor 513 outputs a voice signal from the microphone MIC through the DSP 507 or the speaker SP. In addition, the audio processor 513 outputs an audio signal from the DSP 507 through the speaker SP. The micro controller 512 controls the operation of a flash controller 511 in response to a signal from the flash light intensity sensor 19, thereby driving the flash 12.

A main algorithm of the DSP 507 of FIG. 3 will now be described with reference to FIGS. 1 through 4.

When power is applied to the digital photographing apparatus 1, the DSP 507 is initialized (Step S1). After the initialization (Step S1), the DSP 507 performs a preview mode (Step S2). In the preview mode, an image input is displayed on the display panel 35. An operation related to the preview mode will later be described in detail with reference to FIG. 10.

The DSP 507 identifies a present operating mode (Step S3). Hereinafter, a description of the recording mode will be omitted. The DSP 507 performs the still image photographing mode or the moving image photographing mode depending on the present operation mode (Steps S41 or S42). The algorithm of performing the still image photographing mode (Step S41) will be described with reference to FIG. 11. The algorithm of performing the moving image photographing mode (Step S42) will be described with reference to FIGS. 5 through 9.

Of input signals generated by the INP, when signals corresponding to a setting mode are input (Step S5), the setting mode for setting an operating condition in response to the input signals from the INP is performed (Step S6). When a termination signal is not generated, the DSP 507 continues to perform the following steps (Step S7).

When a signal is generated by the reproducing mode button 42 in the INP, a reproducing mode (Step S4) is performed (Step S9). In the reproducing mode, operating conditions are set in response to the input signals from the INP, and reproducing is performed. When a signal is generated by the reproducing mode button 42 again (Step S10), the above steps are re-performed.

The algorithm of performing the moving image photographing mode (Step S42) of FIG. 4 will now be described with reference to FIGS. 1 through 3 and FIG. 5.

The DSP 507 inspects a remaining capacity of the memory card (Step S4201) and determines whether the memory card has a capacity for recording digital moving image data (Step S4202). When the memory card does not have enough recordable capacity, the DSP 507 indicates a lack of capacity of the memory card (Step S4203). When the memory card has enough recordable capacity, the following steps are performed.

The DSP 507 sets a white balance according to a present photographing condition, and parameters related to the white balance (Step S4204). In an automatic exposure mode (Step S4205), the DSP 507 calculates the exposure to incident luminance, drives the aperture driving motor M_(A) according to the calculated exposure, and sets a shutter speed (Step S4206). In an automatic focusing mode (Step S4207), the DSP 507 performs automatic focusing and drives the focus lens (Step S4208).

When the first level signal S1 from the shutter release button 13 is on (Step S4209), the DSP continues to perform the following steps.

The DSP 507 identifies whether the second level signal S2 is on (Step S4210). When the second level signal S2 is not on, it means that the user did not press the shutter release button 13 to the second level to take a photograph. Therefore, the DSP 507 repeats Steps 4205 through 4210. When the second level signal S2 is on, it means that the user pressed the shutter release button 13 to the second level. Therefore, the DSP 507 creates one moving image file in the memory card (Step S4211). The DSP 507 compresses moving image data from the CDS-ADC 501 using the compressing algorithm of a motion picture experts group (MPEG) or a motion joint photographic experts group (MJPEG) and stores the compressed moving image data in the moving image file (Step S4212).

As described above, in this process of compressing the moving image data and storing it in the moving image file, when a stop-continue signal is not generated by the macro/move-down/stop-continue button 15 _(P), and both the first level signal S1 and the second level signal S2 from the shutter release button 13 are on, the DSP 507 stops storing the moving image data being input and completes the moving image file (Steps S4213, S4218, S4219, and S4220).

However, when the stop-continue signal is generated by the macro/move-down/stop-continue button 15 _(P) (Step S4213), the DSP 507 stops storing the moving image data (Step S4214). While storing is stopped, when the stop-continue signal is generated again from the macro/move-down/stop-continue button 15 _(P) (Step S4215), the DSP 507 re-performs Step S4212. In addition, when both the first level signal S1 and the second level signal S2 from the shutter release button 13 are on, the DSP 507 stops storing the moving image data being input and completes the moving image file (Steps S4216, S4217, and S4220).

A first switch element 16 a may pause storing time-variant digital image information and a second switch element 16 b may continue storing the time-variant digital information in the same digital information file.

FIG. 6 illustrates a first example of performing Steps S4210 through S4219 of FIG. 5.

Referring to FIG. 6, reference numerals S2, SP, and DS indicate a second level signal from the shutter release button 13 of FIG. 1, the macro/move-down/stop-continue button 15 _(P) of FIG. 2, and moving image data stored in a memory card, respectively.

Referring to FIGS. 5 and 6, when the second level signal S2 from the shutter release button 13 is on at time t1 (Step S4210), one moving image file is created in the memory card (Step S4211), and first moving image data DS1 is stored in the moving image file (Step S4212). When a stop-continue signal is generated by the macro/move down/stop-continue button 15 _(P) at time t2 (Step S4213), the first moving image data DS1 stops being stored (Step S4214). When the stop-continue signal is generated again by the macro/move-down/stop-continue button 15 _(P) at a time t3 (Step S4215), second moving image data DS2 is stored in the same moving image file (Step S4212). When the second level signal S2 from the shutter release button 13 is on at time t4, the second moving image data DS2 being input stops being stored, and the moving image file is completed (Steps S4219 and S4220).

FIG. 6A is a timing diagram similar to that of FIG. 6 showing a two-level shutter button supplying a first shutter signal when pressed to a first level and a second shutter signal when pressed to a second level. The first signal is generated by a first activation of the first shutter signal, the fourth signal is generated by the second activation of the first shutter signal, the second signal is generated by a first activation of the second shutter signal and the third signal is generated by the second activation of the second shutter signal.

Referring to FIG. 7, the moving image file 7 obtained from the first example of FIG. 6 includes a file starter 71, head data 72, the first moving image data DS1, the second moving image data DS2, a first audio data 741, a second audio data 742, miscellaneous data 75, and a file terminator 76. The file starter 71 includes data notifying a file start. The head data 72 includes data notifying a file format.

Both the first moving image data DS1 and the second moving image data DS2, divided into different time frames at a user's choice, are stored in the same moving image file 7. Accordingly, moving images photographed at different times can be consecutively reproduced. Furthermore, the first audio data 741 corresponding to the first moving image data DS1 and the second audio data 742 corresponding to the second moving image data DS2 are stored in the same moving image file 7. Here, the first audio data 741 and the second audio data 742 might not be stored in the moving image file 7 depending on moving image photographing conditions set by a user. The miscellaneous data 75 may include subtitle data at a user's choice.

FIG. 8 is a timing diagram illustrating a second example of performing Steps S4210 through S4219. Reference numerals of FIG. 8 that are identical to those of FIG. 6 indicate identical elements with identical functionalities.

Referring to FIGS. 5 and 8, when a second level signal S2 from the shutter release button 13 is on at time t1 (Step S4210), a first moving image file is created in a memory card (Step S4211), and first moving image data DS1 is stored in the first moving image file (Step S4212). When the stop-continue signal is generated by the macro/move-down/stop-continue button 15 _(P) at time t2 (Step S4213), the first moving image data DS1 stops being stored (Step S4214). When the stop-continue signal is generated again by the macro/move-down/stop-continue button 15 _(P) at time t3 (Step S4215), second moving image data DS2 is stored in the first moving image file (Step S4212). When the second level signal S2 from the shutter release button 13 is on at time t4, the second moving image data DS2 being input stops being stored, and the first moving image file is completed (Steps S4219 and S4220).

When the second level signal S2 from the shutter release button 13 is on at time t5 (Step 4210), a second moving image file is created in the memory card (Step S4211), and moving image data is stored in the second moving image file (Step S 4212). When the second level signal S2 from the shutter release button 13 is on at time t6, the moving image data being input stops being stored, and the second moving image file is completed (Steps S4219 and S4220).

FIG. 9 is a timing diagram illustrating a third example of performing Steps S4210 through S4219. Reference numerals of FIG. 9 that are identical to those of FIG. 6 indicate identical elements with identical functionalities.

Referring to FIGS. 5 and 9, when a second level signal S2 from the shutter release button 13 is on at time t1 (Step S4210), a first moving image file is created in a memory card (Step S4211), and moving image data is stored in the first moving image file (Step S4212). When the stop-continue signal is generated by the macro/move-down/stop-continue button 15 _(P) at time t2 (Step S4213), the moving image data stops being stored (Step S4214). When the second level signal S2 from the shutter release button 13 is on at time t3, the moving image data being input stops being stored, and the first moving image file is completed (Steps S4215 through S4217 and Step S4220).

At time t4, when the moving image photographing mode is off, even though the stop-continue signal is generated by the macro/move down/stop-continue button 15 _(P) (not shown in FIG. 5), photographing moving images is not performed.

When the second level signal S2 from the shutter release button 13 is on at time t5 (Step S4210), a second moving image file is created in the memory card (Step S4211), and moving image data is stored in the second moving image file (Step S4212). When the second level signal S2 from the shutter release button 13 is on at time t6, the moving image data being input stops being stored, and the second moving image file is completed (Steps S4219 and S4220).

The algorithm of performing the preview mode Step 2 of FIG. 4 will now be described with reference to FIG. 1 through 3 and FIG. 10.

The DSP 507 performs automatic white balancing (AWB) and sets parameters related to the white balance (Step S201). In the automatic exposure mode (Step S202), the DSP 507 calculates the exposure to incident luminance, drives the aperture driving motor M_(A) according to the calculated exposure, and sets a shutter speed (Step S203).

The DSP 507 performs gamma correction on input image data (Step S204) and scales the gamma corrected image data to meet display standards. The DSP 507 converts the scaled input image data from a red R-green G-blue B format into a luminance-chromaticity format (Step S206). The DSP 507 processes the input image data depending on resolution and displayed location, and filters the input image data (Step S207).

The DSP 507 temporarily stores the input image data in the DRAM 504 of FIG. 3 (Step S208). The DSP 507 synthesizes the data temporarily stored in the DRAM 504 of FIG. 3 and on-screen display (OSD) data (Step S209). The DSP 507 converts the synthesized image data from the R-G-B format into the luminance-chromaticity format (Step S210) and outputs the image data in the converted format on the LCD driver 514 of FIG. 3 (Step S211).

FIG. 11 illustrates an algorithm of performing the still image photographing mode of FIG. 4 (Step S41). The algorithm of performing the still image photographing mode (Step S41) will now be described with reference to FIGS. 1 through 3 and FIG. 11. Here, the present position of the zoom lens is already set.

The DSP 507 inspects a remaining capacity of the memory card (Step S4101) and determines whether the memory card has enough capacity for recording a digital image signal (Step S4102). When the memory card does not have enough recordable capacity, the DSP 507 indicates a lack of capacity of the memory card and stops performing the still image photographing mode (Step S4103). When the memory card has enough recordable capacity, the following steps are performed.

The DSP 507 sets while balance according to a present photographing condition, and parameters related to the white balance (Step S4104). In the automatic exposure mode (Step S4105), the DSP 507 calculates the exposure to incident luminance, drives the aperture driving motor M_(A) according to the calculated exposure, and sets a shutter speed (Step S4106). In the automatic focusing mode (Step S4107), the DSP 507 performs automatic focusing and drives the focus lens (Step S4108).

When the first level signal S1 from the shutter release button 13 is on (Step S4109), the DSP 507 continues to perform the following steps.

The DSP 507 identifies whether the second level signal S2 is on (Step S4110). When the second level signal S2 is not on, it means that the user did not press the shutter release button 13 to the second level to take a photograph. Then, the DSP 507 re-performs Steps S4105 through S4110. When the second level signal S2 is on, it means that the user pressed the shutter release button 13 to the second level. Then, the DSP 507 creates a still image file in the memory card (Step S4111). The DSP 507 captures a still image (Step S4112). In doing so, the DSP 507 receives still image data from the CDS-ADC 501. Then, the DSP 507 compresses the received still image data (Step S4113). The DSP 507 stores the compressed still image data in the still image file (Step S4114).

As described above, in a method of controlling a digital photographing apparatus and a digital photographing apparatus adopting the same, signals generated by two buttons are used, and moving image data divided into different time frames at a user's choice can be consecutively reproduced.

While the invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the following claims. 

1-25. (canceled)
 26. An electronic device, comprising: a microphone unit to generate an audio electrical signal; one or more processors configured to: generate audio data from the audio electrical signal; store the generated audio data in an audio file: if a first input is detected while the audio data is not being recorded, start recording the audio data; if a second input is detected while the audio data is being recorded, pause the recording of the audio data; if a third input is detected while the recording of the audio data is paused, continue the recording of the audio data; if only one time of a fourth input is detected while the audio data is being recorded or while the recording of the audio data is paused, complete the audio file.
 27. The device of claim 26, wherein the second input and the fourth input are generated by separate input units.
 28. The device of claim 27, wherein each of the input units are buttons.
 29. The device of claim 26, wherein the third input and the fourth input are generated by separate input units.
 30. The device of claim 29, wherein each of the input units are buttons.
 31. The device of claim 26, wherein the processor and algorithms consecutively reproduce the audio data in the audio file which has been stored including sounds recorded in at least two different time frames.
 32. An electronic device, comprising: a microphone unit to generate an audio electrical signal; one or more processors configured to: generate audio data from the audio electrical signal; store the generated audio data in an audio file: if a first input is detected while the audio data is not being recorded, start recording the audio data; if a second input is detected while the audio data is being recorded, pause the recording of the audio data; if a third input is detected while the recording of the audio data is paused, continue the recording of the audio data; if only one time of a fourth input is detected while the audio data is being recorded by the first input or the third input comprising if the fourth input has not previously been input to the device and the fourth input corresponds to a single button press, then stop the recording of the audio data, and complete the audio file; and if only one time of the fourth input is detected while the recording of the audio data is paused by the second input but before the audio file has been completed, complete the audio file. 